package megajournal.domain;

import java.util.List;

/**
 *
 * @author cska
 */
public class Subject {

    private Long id;
    private String name;
    private List<Group_Teacher_Subject> gtses;
    private List<Lab> labs;

    public Subject() {
    }

    public Subject(String name) {
        this.name = name;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setGtses(List<Group_Teacher_Subject> gtses) {
        this.gtses = gtses;
    }

    public void setLabs(List<Lab> labs) {
        this.labs = labs;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public List<Group_Teacher_Subject> getGtses() {
        return gtses;
    }

    public List<Lab> getLabs() {
        return labs;
    }

    @Override
    public String toString() {
        return name;
    }

}
